<?php

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/4/20 0020
 * Time: 上午 11:21
 */
class Index_model extends Base_Model
{
    public function __construct()
    {
        $this->load->database();
    }


    public function getStrings()
    {

        $query = $this->db->get('mod_config_string');
        $ret = array();
        foreach ($query->result() as $row)
        {

            $ret[$row->key] = $row->string;
        }
        return $ret;
    }




}